﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="FormEngine.Web" Namespace="FormEngine.Web" TagPrefix="cc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <cc:FormControl runat="server" ID="FormControl1">
        <LabelStyle CssClass="formlabel" />
    </cc:FormControl>

    <asp:Button runat="server" ID="GeneratePdfButton" Text="Generate PDF" OnClick="GeneratePdf_Click" />

    <asp:Button runat="server" ID="ViewPdfButton" Text="View PDF" PostBackUrl="~/Results.aspx?type=pdf" OnClientClick="aspnetForm.target='_blank';" Enabled="false" />
    <asp:Button runat="server" ID="ViewDataButton" Text="View Data" PostBackUrl="~/Results.aspx?type=data" OnClientClick="aspnetForm.target='_blank';" Enabled="false" />
</asp:Content>

